import { createRouter, createWebHistory } from 'vue-router'
import Home from '../views/Home.vue'

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home,
  },
  {
    path: '/about',
    name: 'About',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/About.vue')
  },
  {
    path: '/book',
    name: 'Book',
    component: ()=>import('../views/Book'),

  },
  {
    path: '/uuu',
    name: 'Uuu',
    component: ()=>import('../views/Uuu')
  },
  {
    path: '/try',
    name: 'Try',
    component: ()=>import('../views/Try')
  },
  {
    path: '/week',
    name: 'Week',
    component: ()=>import('../views/Week')
  }
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
